package com.dlx.mem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dlx.model.mem.MemInfo;
import com.dlx.vo.mem.MemInfoQueryVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author nglon
 * @since 2021-11-08
 */
public interface MemInfoService extends IService<MemInfo> {
    MemInfo getById(Long id);

    MemInfo show(Long memInfoId);

    void lock(Long memInfoId,Boolean isDisabled);

    IPage<MemInfo> selectMemInfoPage(Page<MemInfo> pageMemInfo, MemInfoQueryVo memInfoQueryVo);

    void add(MemInfo memInfo);

    MemInfo getByUserId(Long userId);

    Boolean updateByUserId(MemInfo memInfo);
}
